package com.rabbiter.association.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 数据实体类
 * 社团类型
 */
@Data
@TableName(value = "team_types")
@ApiModel(description = "社团类型实体")
public class TeamTypes implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 记录ID
     */
    @TableId(value = "id")
    @ApiModelProperty(value = "类型ID")
    private String id;

    /**
     * 类型名称
     */
    @TableField(value = "name")
    @ApiModelProperty(value = "类型名称")
    private String name;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    @ApiModelProperty(value = "创建时间")
    private String createTime;


    @Override
    public String toString() {

        return "TeamTypes [id=" + id
                + ", name=" + name
                + ", createTime=" + createTime
                + "]";
    }

}